<!DOCTYPE html>
<html>

    <head>
	<meta name="layout" content="main" />
	<g:set var="entityName" value="${message(code: 'roleMenu.label', default: 'RoleMenu')}" />
	<title><g:message code="default.create.label" args="[entityName]" /></title>
    </head>

    <body class="fixed-navbar fixed-sidebar">
    <div class="small-header">
       <div class="hpanel">
          <div class="panel-body">
             <div id="hbreadcrumb" class="pull-right">
                <ol class="hbreadcrumb breadcrumb">
                    <li>贷款管理系统</li>
                    <li>
                        <g:link controller="RoleMenu" action="index" params="[menu: this.roleMenu.menu.id]">角色菜单管理</g:link>
                    </li>
                    <li class="active">
                        <span>角色菜单</span>
                    </li>
                </ol>
            </div>
            <h2 class="font-light m-b-xs">
                角色菜单管理
            </h2>
         </div>
       </div>
    </div>

<div class="content animate-panel">
    <div class="row">
        <div class="hpanel hblue">
            <div class="panel-heading">
		<div class="panel-tools">
                    <g:link class="btn btn-info btn-xs" action="edit" resource="${this.roleMenu}"><i
                            class="fa fa-edit"></i>编辑</g:link>
                    <g:form resource="${this.roleMenu}" method="DELETE" style="display: inline-block">
		    <g:hiddenField name="menu" value="${this.roleMenu.menu.id}" />
                        <button class="deleteBtn btn btn-danger btn-xs" type="button">
                            <i class="fa fa-trash-o"></i>删除
                        </button>
                    </g:form>
                </div>
                角色菜单详情
            </div>
            <div class="panel-body">
                    <div class="form-group">
                        <label class="col-md-3 control-label">角色名称</label>
                        <div class="col-md-3">
				${this.roleMenu?.role?.description}
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                        <label class="col-md-3 control-label">菜单名称</label>
                        <div class="col-md-3">
				${this.roleMenu?.menu?.name}
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
            </div>
        </div>
    </div>
</div>
    </body>

</html>
